<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script>

        var arr = ['hello']
        arr.push('world','it','bai','zhan') //在数组末尾添加元素
        console.log(arr)

        arr.pop()
        console.log(arr) //删除数组最后一个元素

    </script>


</body>
</html>